package com.appgole.provider;

import org.testng.annotations.DataProvider;

import java.util.Iterator;

/**
 * 提供Gankapi相关的参数数据
 * Created by Administrator on 2019/3/3.
 */
public class GankProvider {

    @DataProvider(name = "xuandu_subcategory")
    public Iterator<Object[]> provideXuanduSubcategory() {
        return GankExcel.provideXuanduSubcategory();
    }

    @DataProvider(name = "default_category")
    public Iterator<Object[]> provideDefaultCategory() {
        return GankExcel.provideDefaultCategory();
    }

    @DataProvider(name = "the_special_day")
    public Iterator<Object[]> provideTheSpecialDay() {
//        return new Object[][]{{2017, 11, 11}, {2017, 12, 12}, {2019, 03, 01}};
        return GankExcel.provideTheSpecialDay();
    }

}
